package com.hzcx.app.simplechat.ui.publicui.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.login.bean.LoginInfoBean;
import com.hzcx.app.simplechat.ui.login.bean.PhoneCityBean;
import com.hzcx.app.simplechat.ui.publicui.bean.ProtocolBean;

import java.util.List;

public interface SendCodeContract {

    interface View extends IView {
        void sendSuccess();
        void sendFail();
        void loginSuccess(LoginInfoBean data);
        void checkCodeSuccess();
        void protocolResult(ProtocolBean data);
    }

    interface Presenter extends IPresenter<View> {
        void sendCode(Context context,String mobile,String event,String area_code);
        void loginByCode(Context context,String mobile,String captcha,String area_code);
        void checkCode(Context context,String mobile,String captcha,String event);
        void getProtocol(Context context, String type);
    }

}
